<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // 1.bigint的声明
        let a = 12n
        console.log(a,typeof a);

        // 2.bigint转换
        let b = 123
        // 不可强转浮点数
        console.log(BigInt(b),typeof BigInt(b));
    </script>
</body>
</html>